<script type="text/jsx">

     import WiiJsxItem from './wii-three.vue'

     export default {

        name: 'wii-jsx',

        components: {

            WiiJsxItem

        },
		mounted(){
		  this.content = this.rendercontent
		},
        data() {

            return {

                color: 'red',
                content:''
            }

        },

        props: {
          rendercontent:String

        },

        render: function (h) {
        console.log('h:'+h);
		console.log('content1:'+this.rendercontent);
        return (
		   <div id='111'>
           {this.rendercontent}
		   </div>
        )

      },

      methods: {

          clickHandler() {

            this.color = this.color == 'red' ? 'blue' : 'red'

            console.log(`点击了wii-jsx-item，通过native触发，改变了颜色为【${this.color}】`)

          }

      }

    }

</script>